200
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions, after the user clicks it

public void init()
{
	COM com_Items,com_Items1;
	anytype var_Items,var_Items1;
	;

	super();

	exgrid1.FormatAnchor(false,"<b><u><fgcolor=880000> </fgcolor></u></b>");
	exgrid1.Columns().Add("Column");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValueFormat(com_Items.AddItem("Just an <a1>anchor</a> element ..."),COMVariant::createFromInt(0),1/*exHTML*/);
	var_Items1 = exgrid1.Items(); com_Items1 = var_Items1;
		com_Items1.CellValueFormat(com_Items1.AddItem("Just another <a2>anchor</a> element ..."),COMVariant::createFromInt(0),1/*exHTML*/);
	exgrid1.Items().AddItem("next item");
}
199
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions

public void init()
{
	COM com_Items,com_Items1;
	anytype var_Items,var_Items1;
	;

	super();

	exgrid1.FormatAnchor(true,"<b><u><fgcolor=FF0000> </fgcolor></u></b>");
	exgrid1.Columns().Add("Column");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValueFormat(com_Items.AddItem("Just an <a1>anchor</a> element ..."),COMVariant::createFromInt(0),1/*exHTML*/);
	var_Items1 = exgrid1.Items(); com_Items1 = var_Items1;
		com_Items1.CellValueFormat(com_Items1.AddItem("Just another <a2>anchor</a> element ..."),COMVariant::createFromInt(0),1/*exHTML*/);
}
198
Can I change the font for the tooltip

public void init()
{
	;

	super();

	exgrid1.ToolTipDelay(1);
	exgrid1.ToolTipWidth(364);
	COM::createFromVariant(exgrid1.Columns().Add("tootip")).ToolTip("<br><font Tahoma;14>this</font> is a tooltip assigned to a column<br>");
}
197
Can I change the font for the tooltip

public void init()
{
	COM com_StdFont;
	anytype var_StdFont;
	;

	super();

	exgrid1.ToolTipDelay(1);
	var_StdFont = exgrid1.ToolTipFont(); com_StdFont = var_StdFont;
		com_StdFont.Name("Tahoma");
		com_StdFont.Size(14);
	exgrid1.ToolTipWidth(364);
	COM::createFromVariant(exgrid1.Columns().Add("tootip")).ToolTip("this is a tooltip assigned to a column");
}
196
Can I change the order of the buttons in the scroll bar

public void init()
{
	;

	super();

	exgrid1.ScrollOrderParts(1/*exHScroll*/,"t,l,r");
	exgrid1.ScrollOrderParts(0/*exVScroll*/,"t,l,r");
	exgrid1.ScrollBars(15/*exDisableBoth*/);
}
195
The thumb size seems to be very small. Can I make it bigger

public void init()
{
	;

	super();

	exgrid1.ColumnAutoResize(false);
	COM::createFromVariant(exgrid1.Columns().Add("C1")).Width(256);
	COM::createFromVariant(exgrid1.Columns().Add("C2")).Width(256);
	COM::createFromVariant(exgrid1.Columns().Add("C3")).Width(256);
	exgrid1.ScrollThumbSize(1/*exHScroll*/,64);
}
194
How can I display my text on the scroll bar, using a different font

public void init()
{
	;

	super();

	exgrid1.ScrollPartCaption(1/*exHScroll*/,256/*exThumbPart*/,"This is <s><font Tahoma;12> just </font></s> text");
	exgrid1.ColumnAutoResize(false);
	exgrid1.ScrollHeight(20);
	COM::createFromVariant(exgrid1.Columns().Add("C1")).Width(256);
	COM::createFromVariant(exgrid1.Columns().Add("C2")).Width(256);
	COM::createFromVariant(exgrid1.Columns().Add("C3")).Width(256);
}
193
How can I display my text on the scroll bar, using a different font

public void init()
{
	COM com_StdFont;
	anytype var_StdFont;
	;

	super();

	exgrid1.ScrollPartCaption(1/*exHScroll*/,256/*exThumbPart*/,"This is just a text");
	var_StdFont = COM::createFromObject(exgrid1.ScrollFont(1/*exHScroll*/)); com_StdFont = var_StdFont;
	com_StdFont.Size(12);
	exgrid1.ColumnAutoResize(false);
	exgrid1.ScrollHeight(20);
	COM::createFromVariant(exgrid1.Columns().Add("C1")).Width(256);
	COM::createFromVariant(exgrid1.Columns().Add("C2")).Width(256);
	COM::createFromVariant(exgrid1.Columns().Add("C3")).Width(256);
}
192
How can I display my text on the scroll bar

public void init()
{
	;

	super();

	exgrid1.ScrollPartCaption(1/*exHScroll*/,256/*exThumbPart*/,"this is just a text");
	exgrid1.ColumnAutoResize(false);
	COM::createFromVariant(exgrid1.Columns().Add("C1")).Width(256);
	COM::createFromVariant(exgrid1.Columns().Add("C2")).Width(256);
	COM::createFromVariant(exgrid1.Columns().Add("C3")).Width(256);
}
191
How do I enlarge or change the size of the control's scrollbars

public void init()
{
	;

	super();

	exgrid1.ScrollHeight(18);
	exgrid1.ScrollWidth(18);
	exgrid1.ScrollButtonWidth(18);
	exgrid1.ScrollButtonHeight(18);
	exgrid1.ScrollBars(15/*exDisableBoth*/);
}
190
How do I assign a tooltip to a scrollbar

public void init()
{
	;

	super();

	exgrid1.ScrollToolTip(1/*exHScroll*/,"This is a tooltip being shown when you click and drag the thumb in the horizontal scroll bar");
	exgrid1.ColumnAutoResize(false);
	COM::createFromVariant(exgrid1.Columns().Add("C1")).Width(256);
	COM::createFromVariant(exgrid1.Columns().Add("C2")).Width(256);
	COM::createFromVariant(exgrid1.Columns().Add("C3")).Width(256);
}
189
How do I assign an icon to the button in the scrollbar

public void init()
{
	str var_s;
	;

	super();

	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exgrid1.Images(COMVariant::createFromStr(var_s));
	exgrid1.ScrollPartVisible(1/*exHScroll*/,32768/*exLeftB1Part*/,true);
	exgrid1.ScrollPartCaption(1/*exHScroll*/,32768/*exLeftB1Part*/,"<img>1</img>");
	exgrid1.ScrollHeight(18);
	exgrid1.ScrollButtonWidth(18);
	exgrid1.ScrollBars(5/*exDisableNoHorizontal*/);
}
188
I need to add a button in the scroll bar. Is this possible

public void init()
{
	;

	super();

	exgrid1.ScrollPartVisible(1/*exHScroll*/,32768/*exLeftB1Part*/,true);
	exgrid1.ScrollPartCaption(1/*exHScroll*/,32768/*exLeftB1Part*/,"1");
	exgrid1.ScrollBars(5/*exDisableNoHorizontal*/);
}
187
Can I display an additional buttons in the scroll bar

public void init()
{
	;

	super();

	exgrid1.ScrollPartVisible(1/*exHScroll*/,32768/*exLeftB1Part*/,true);
	exgrid1.ScrollPartVisible(1/*exHScroll*/,16384/*exLeftB2Part*/,true);
	exgrid1.ScrollPartVisible(1/*exHScroll*/,1/*exRightB6Part*/,true);
	exgrid1.ScrollPartVisible(1/*exHScroll*/,2/*exRightB5Part*/,true);
	exgrid1.ScrollBars(5/*exDisableNoHorizontal*/);
}
186
Can I display the picture aligned to the right, while the text aligned to the left

public void init()
{
	COM com_Items;
	COMVariant s;
	anytype var_Items;
	;

	super();

	exgrid1.DefaultItemHeight(48);
	exgrid1.Columns().Add("C1");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		s = com_Items.SplitCell(com_Items.AddItem("Text"),COMVariant::createFromInt(0));
		com_Items.CellPicture(,s,COM::createFromVariant(exgrid1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")));
		com_Items.CellHAlignment(,s,2/*RightAlignment*/);
}
185
How can I display a custom size picture to a cell or item

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.DefaultItemHeight(48);
	exgrid1.Columns().Add("C1");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellPicture(com_Items.AddItem("Text"),COMVariant::createFromInt(0),COM::createFromVariant(exgrid1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")));
}
184
How can I display a multiple pictures to a cell or item

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.DefaultItemHeight(48);
	exgrid1.HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif");
	exgrid1.HTMLPicture("pic2","c:\\exontrol\\images\\auction.gif");
	exgrid1.Columns().Add("C1");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValueFormat(com_Items.AddItem("<img>pic1</img> Text <img>pic2</img> another text ..."),COMVariant::createFromInt(0),1/*exHTML*/);
}
183
How do I change the column's foreground color for numbers between an interval - Range

public void init()
{
	COM com_ConditionalFormat,com_Items,com_Items1,com_Items2,com_Items3;
	anytype var_ConditionalFormat,var_Items,var_Items1,var_Items2,var_Items3;
	;

	super();

	var_ConditionalFormat = COM::createFromObject(exgrid1.ConditionalFormats()).Add("%0 >= 2 and %0 <= 10"); com_ConditionalFormat = var_ConditionalFormat;
		com_ConditionalFormat.Bold(true);
		com_ConditionalFormat.ForeColor(WinApi::RGB2int(255,0,0));
		com_ConditionalFormat.ApplyTo(1);
	exgrid1.Columns().Add("N1");
	exgrid1.Columns().Add("N2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem(COMVariant::createFromInt(1)),COMVariant::createFromInt(1),COMVariant::createFromInt(2));
	var_Items1 = exgrid1.Items(); com_Items1 = var_Items1;
		com_Items1.CellValue(com_Items1.AddItem(COMVariant::createFromInt(3)),COMVariant::createFromInt(1),COMVariant::createFromInt(3));
	var_Items2 = exgrid1.Items(); com_Items2 = var_Items2;
		com_Items2.CellValue(com_Items2.AddItem(COMVariant::createFromInt(10)),COMVariant::createFromInt(1),COMVariant::createFromInt(11));
	var_Items3 = exgrid1.Items(); com_Items3 = var_Items3;
		com_Items3.CellValue(com_Items3.AddItem(COMVariant::createFromInt(13)),COMVariant::createFromInt(1),COMVariant::createFromInt(31));
	exgrid1.SearchColumnIndex(1);
}
182
How do I change the item's foreground color for numbers between an interval - Range

public void init()
{
	COM com_ConditionalFormat;
	anytype var_ConditionalFormat;
	;

	super();

	var_ConditionalFormat = COM::createFromObject(exgrid1.ConditionalFormats()).Add("%0 >= 2 and %0 <= 10"); com_ConditionalFormat = var_ConditionalFormat;
	com_ConditionalFormat.ForeColor(WinApi::RGB2int(255,0,0));
	exgrid1.Columns().Add("Numbers");
	exgrid1.Items().AddItem(COMVariant::createFromInt(1));
	exgrid1.Items().AddItem(COMVariant::createFromInt(2));
	exgrid1.Items().AddItem(COMVariant::createFromInt(10));
	exgrid1.Items().AddItem(COMVariant::createFromInt(20));
}
181
How do I change the item's background color for numbers less than a value

public void init()
{
	COM com_ConditionalFormat;
	anytype var_ConditionalFormat;
	;

	super();

	var_ConditionalFormat = COM::createFromObject(exgrid1.ConditionalFormats()).Add("%0 < 10"); com_ConditionalFormat = var_ConditionalFormat;
	com_ConditionalFormat.BackColor(WinApi::RGB2int(255,0,0));
	exgrid1.Columns().Add("Numbers");
	exgrid1.Items().AddItem(COMVariant::createFromInt(1));
	exgrid1.Items().AddItem(COMVariant::createFromInt(2));
	exgrid1.Items().AddItem(COMVariant::createFromInt(10));
	exgrid1.Items().AddItem(COMVariant::createFromInt(20));
}
180
How do I underline the numbers greater than a value

public void init()
{
	COM com_ConditionalFormat;
	anytype var_ConditionalFormat;
	;

	super();

	var_ConditionalFormat = COM::createFromObject(exgrid1.ConditionalFormats()).Add("%0 >= 10"); com_ConditionalFormat = var_ConditionalFormat;
	com_ConditionalFormat.Underline(true);
	exgrid1.Columns().Add("Numbers");
	exgrid1.Items().AddItem(COMVariant::createFromInt(1));
	exgrid1.Items().AddItem(COMVariant::createFromInt(2));
	exgrid1.Items().AddItem(COMVariant::createFromInt(10));
	exgrid1.Items().AddItem(COMVariant::createFromInt(20));
}
179
How do I highlight in italic the numbers greater than a value

public void init()
{
	COM com_ConditionalFormat;
	anytype var_ConditionalFormat;
	;

	super();

	var_ConditionalFormat = COM::createFromObject(exgrid1.ConditionalFormats()).Add("%0 >= 10"); com_ConditionalFormat = var_ConditionalFormat;
	com_ConditionalFormat.StrikeOut(true);
	exgrid1.Columns().Add("Numbers");
	exgrid1.Items().AddItem(COMVariant::createFromInt(1));
	exgrid1.Items().AddItem(COMVariant::createFromInt(2));
	exgrid1.Items().AddItem(COMVariant::createFromInt(10));
	exgrid1.Items().AddItem(COMVariant::createFromInt(20));
}
178
How do I highlight in italic the numbers greater than a value

public void init()
{
	COM com_ConditionalFormat;
	anytype var_ConditionalFormat;
	;

	super();

	var_ConditionalFormat = COM::createFromObject(exgrid1.ConditionalFormats()).Add("%0 >= 10"); com_ConditionalFormat = var_ConditionalFormat;
	com_ConditionalFormat.Italic(true);
	exgrid1.Columns().Add("Numbers");
	exgrid1.Items().AddItem(COMVariant::createFromInt(1));
	exgrid1.Items().AddItem(COMVariant::createFromInt(2));
	exgrid1.Items().AddItem(COMVariant::createFromInt(10));
	exgrid1.Items().AddItem(COMVariant::createFromInt(20));
}
177
How do I highlight in bold the numbers greater than a value

public void init()
{
	COM com_ConditionalFormat;
	anytype var_ConditionalFormat;
	;

	super();

	var_ConditionalFormat = COM::createFromObject(exgrid1.ConditionalFormats()).Add("%0 >= 10"); com_ConditionalFormat = var_ConditionalFormat;
	com_ConditionalFormat.Bold(true);
	exgrid1.Columns().Add("Numbers");
	exgrid1.Items().AddItem(COMVariant::createFromInt(1));
	exgrid1.Items().AddItem(COMVariant::createFromInt(2));
	exgrid1.Items().AddItem(COMVariant::createFromInt(10));
	exgrid1.Items().AddItem(COMVariant::createFromInt(20));
}
176
Can I use your EBN files to change the visual appearance for +/- expand - collapse buttons

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exgrid1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exgrid1.VisualAppearance().Add(2,"c:\\exontrol\\images\\pushed.ebn");
	exgrid1.LinesAtRoot(1/*exGroupLinesAtRoot*/);
	exgrid1.HasButtons(4/*exCustom*/);
	exgrid1.HasButtonsCustom(0,16777216);
	exgrid1.HasButtonsCustom(1,33554432);
	exgrid1.Columns().Add("Column");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child");
}
175
Can I use your EBN files to change the visual appearance for radio buttons

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exgrid1.VisualAppearance().Add(2,"c:\\exontrol\\images\\pushed.ebn");
	exgrid1.RadioImage(0,16777216);
	exgrid1.RadioImage(1,33554432);
	COM::createFromVariant(exgrid1.Columns().Add("Radio")).Def(1/*exCellHasRadioButton*/,COMVariant::createFromBoolean(true));
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem("Radio 1");
		com_Items.CellState(com_Items.AddItem("Radio 2"),COMVariant::createFromInt(0),1);
		com_Items.AddItem("Radio 3");
}
174
Can I use your EBN files to change the visual appearance for checkbox cells

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exgrid1.VisualAppearance().Add(2,"c:\\exontrol\\images\\pushed.ebn");
	exgrid1.CheckImage(0/*Unchecked*/,16777216);
	exgrid1.CheckImage(1/*Checked*/,33554432);
	COM::createFromVariant(exgrid1.Columns().Add("Check")).Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem("Check 1");
		com_Items.CellState(com_Items.AddItem("Check 2"),COMVariant::createFromInt(0),1);
}
173
How do I change the visual aspect for thumb parts in the scroll bars, using EBN

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exgrid1.VisualAppearance().Add(2,"c:\\exontrol\\images\\pushed.ebn");
	exgrid1.VisualAppearance().Add(3,"c:\\exontrol\\images\\hot.ebn");
	exgrid1.Background(388/*exHSThumb*/,0x1000000);
	exgrid1.Background(389/*exHSThumbP*/,0x2000000);
	exgrid1.Background(391/*exHSThumbH*/,0x3000000);
	exgrid1.Background(260/*exVSThumb*/,0x1000000);
	exgrid1.Background(261/*exVSThumbP*/,0x2000000);
	exgrid1.Background(263/*exVSThumbH*/,0x3000000);
	exgrid1.ScrollBars(3855/*exVScrollEmptySpace | exHScrollEmptySpace | exVScrollOnThumbRelease | exHScrollOnThumbRelease | exDisableBoth*/);
	exgrid1.ScrollBySingleLine(true);
	exgrid1.Columns().Add("Def");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromInt(1));
		com_Items.AddItem(COMVariant::createFromInt(2));
		com_Items.AddItem(COMVariant::createFromInt(3));
}
172
How do I change the visual aspect only for the thumb in the scroll bar, using EBN

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exgrid1.VisualAppearance().Add(2,"c:\\exontrol\\images\\pushed.ebn");
	exgrid1.VisualAppearance().Add(3,"c:\\exontrol\\images\\hot.ebn");
	exgrid1.Background(388/*exHSThumb*/,0x1000000);
	exgrid1.Background(389/*exHSThumbP*/,0x2000000);
	exgrid1.Background(391/*exHSThumbH*/,0x3000000);
	exgrid1.ScrollBars(3855/*exVScrollEmptySpace | exHScrollEmptySpace | exVScrollOnThumbRelease | exHScrollOnThumbRelease | exDisableBoth*/);
	exgrid1.ScrollBySingleLine(true);
	exgrid1.Columns().Add("Def");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromInt(1));
		com_Items.AddItem(COMVariant::createFromInt(2));
		com_Items.AddItem(COMVariant::createFromInt(3));
}
171
I've seen that you can change the visual appearance for the scroll bar. How can I do that

public void init()
{
	;

	super();

	exgrid1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exgrid1.VisualAppearance().Add(2,"c:\\exontrol\\images\\pushed.ebn");
	exgrid1.VisualAppearance().Add(3,"c:\\exontrol\\images\\hot.ebn");
	exgrid1.Background(324/*exSBtn*/,0x1000000);
	exgrid1.Background(325/*exSBtnP*/,0x2000000);
	exgrid1.Background(327/*exSBtnH*/,0x3000000);
	exgrid1.Background(404/*exHSBack*/,WinApi::RGB2int(240,240,240));
	exgrid1.Background(276/*exVSBack*/,WinApi::RGB2int(240,240,240));
	exgrid1.Background(511/*exScrollSizeGrip*/,WinApi::RGB2int(240,240,240));
	COM::createFromVariant(exgrid1.Columns().Add("S")).Width(32);
	COM::createFromVariant(exgrid1.Columns().Add("Level 1")).LevelKey(COMVariant::createFromInt(1));
	COM::createFromVariant(exgrid1.Columns().Add("Level 2")).LevelKey(COMVariant::createFromInt(1));
	COM::createFromVariant(exgrid1.Columns().Add("Level 3")).LevelKey(COMVariant::createFromInt(1));
	COM::createFromVariant(exgrid1.Columns().Add("E1")).Width(32);
	COM::createFromVariant(exgrid1.Columns().Add("E2")).Width(32);
	COM::createFromVariant(exgrid1.Columns().Add("E3")).Width(32);
	COM::createFromVariant(exgrid1.Columns().Add("E4")).Width(32);
	exgrid1.ColumnAutoResize(false);
	exgrid1.ScrollBars(15/*exDisableBoth*/);
}
170
Is there any option to highlight the column from the cursor - point

public void init()
{
	;

	super();

	exgrid1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exgrid1.Background(32/*exCursorHoverColumn*/,0x1000000);
	COM::createFromVariant(exgrid1.Columns().Add("S")).Width(32);
	COM::createFromVariant(exgrid1.Columns().Add("Level 1")).LevelKey(COMVariant::createFromInt(1));
	COM::createFromVariant(exgrid1.Columns().Add("Level 2")).LevelKey(COMVariant::createFromInt(1));
	COM::createFromVariant(exgrid1.Columns().Add("Level 3")).LevelKey(COMVariant::createFromInt(1));
	COM::createFromVariant(exgrid1.Columns().Add("E1")).Width(32);
	COM::createFromVariant(exgrid1.Columns().Add("E2")).Width(32);
	COM::createFromVariant(exgrid1.Columns().Add("E3")).Width(32);
	COM::createFromVariant(exgrid1.Columns().Add("E4")).Width(32);
}
169
How do I change the visual aspect of selected item in the drop down filter window, using your EBN technology

public void init()
{
	;

	super();

	exgrid1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exgrid1.Background(20/*exSelBackColorFilter*/,0x1000000);
	exgrid1.Background(21/*exSelForeColorFilter*/,WinApi::RGB2int(255,20,20));
	COM::createFromVariant(exgrid1.Columns().Add("Filter")).DisplayFilterButton(true);
}
168
How do I change the visual aspect of the drop down calendar window, that shows up if I click the drop down filter button, using EBN

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	exgrid1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exgrid1.VisualAppearance().Add(2,"c:\\exontrol\\images\\pushed.ebn");
	exgrid1.Background(8/*exDateHeader*/,0x1000000);
	exgrid1.Background(9/*exDateTodayUp*/,0x1000000);
	exgrid1.Background(10/*exDateTodayDown*/,0x2000000);
	exgrid1.Background(11/*exDateScrollThumb*/,0x1000000);
	exgrid1.Background(12/*exDateScrollRange*/,WinApi::RGB2int(230,230,230));
	exgrid1.Background(13/*exDateSeparatorBar*/,WinApi::RGB2int(230,230,230));
	exgrid1.Background(14/*exDateSelect*/,0x1000000);
	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Date")); com_Column = var_Column;
		com_Column.FilterType(4/*exDate*/);
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterDate(true);
}
167
How do I change the visual aspect of the close button in the filter bar, using EBN

public void init()
{
	;

	super();

	exgrid1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exgrid1.Background(1/*exFooterFilterBarButton*/,0x1000000);
	COM::createFromVariant(exgrid1.Columns().Add("Filter")).FilterType(1/*exBlanks*/);
	exgrid1.ApplyFilter();
}
166
How do I change the visual aspect of buttons in the cell, using EBN

public void init()
{
	;

	super();

	exgrid1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exgrid1.VisualAppearance().Add(2,"c:\\exontrol\\images\\pushed.ebn");
	exgrid1.Background(2/*exCellButtonUp*/,0x1000000);
	exgrid1.Background(3/*exCellButtonDown*/,0x2000000);
	exgrid1.SelForeColor(WinApi::RGB2int(0,0,0));
	exgrid1.ShowFocusRect(false);
	COM::createFromVariant(exgrid1.Columns().Add("Column 1")).Def(2/*exCellHasButton*/,COMVariant::createFromBoolean(true));
	exgrid1.Items().AddItem("Button 1");
	exgrid1.Items().AddItem("Button 2");
	exgrid1.Columns().Add("Column 2");
}
165
How do I change the visual aspect of the drop down filter button, using EBN

public void init()
{
	;

	super();

	exgrid1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exgrid1.Background(0/*exHeaderFilterBarButton*/,0x1000000);
	COM::createFromVariant(exgrid1.Columns().Add("Filter")).DisplayFilterButton(true);
}
164
Is there any function to get the control's data in your x-script format / template

public void init()
{
	;

	super();

	exgrid1.Columns().Add("Column");
	exgrid1.Items().AddItem(COMVariant::createFromStr(exgrid1.ToTemplate()));
}
163
How do I enable resizing the columns at runtime

public void init()
{
	COM com_Items,com_Items1;
	anytype var_Items,var_Items1;
	;

	super();

	exgrid1.ColumnsAllowSizing(true);
	exgrid1.MarkSearchColumn(false);
	exgrid1.HeaderVisible(false);
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	exgrid1.DrawGridLines(2/*exVLines*/);
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Item 1"),COMVariant::createFromInt(1),"Sub Item 1");
	var_Items1 = exgrid1.Items(); com_Items1 = var_Items1;
		com_Items1.CellValue(com_Items1.AddItem("Item 2"),COMVariant::createFromInt(1),"Sub Item 2");
}
162
How can I select the second inner column when spliting the cells

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.SelectColumnInner(1);
	exgrid1.FullRowSelect(false);
	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.Columns().Add("Column");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(,com_Items.SplitCell(com_Items.AddItem("Split Cell 1.1"),COMVariant::createFromInt(0)),"Split Cell 2.1");
		com_Items.CellValue(,com_Items.SplitCell(com_Items.AddItem("Split Cell 1.2"),COMVariant::createFromInt(0)),"Split Cell 2.2");
		com_Items.SelectItem(com_Items.FirstVisibleItem(),true);
}
161
How can I sort by multiple columns

public void init()
{
	;

	super();

	exgrid1.SingleSort(false);
	COM::createFromVariant(exgrid1.Columns().Add("C1")).SortOrder(1/*SortAscending*/);
	COM::createFromVariant(exgrid1.Columns().Add("C2")).SortOrder(2/*SortDescending*/);
	COM::createFromVariant(exgrid1.Columns().Add("C3")).SortOrder(1/*SortAscending*/);
}
160
How can I add several columns to control's sort bar

public void init()
{
	;

	super();

	exgrid1.SortBarVisible(true);
	exgrid1.SortBarColumnWidth(48);
	COM::createFromVariant(exgrid1.Columns().Add("C1")).SortOrder(1/*SortAscending*/);
	COM::createFromVariant(exgrid1.Columns().Add("C2")).SortOrder(2/*SortDescending*/);
}
159
How can I change the width of the columns being displayed in the sort bar

public void init()
{
	;

	super();

	exgrid1.SortBarVisible(true);
	exgrid1.SortBarColumnWidth(48);
	COM::createFromVariant(exgrid1.Columns().Add("C1")).SortOrder(1/*SortAscending*/);
	COM::createFromVariant(exgrid1.Columns().Add("C2")).SortOrder(2/*SortDescending*/);
}
158
How can I change the height of the sort bar's

public void init()
{
	;

	super();

	exgrid1.SortBarVisible(true);
	exgrid1.SortBarHeight(48);
}
157
How can I change the sort bar's foreground color

public void init()
{
	;

	super();

	exgrid1.SortBarVisible(true);
	exgrid1.ForeColorSortBar(WinApi::RGB2int(255,0,0));
}
156
How can I change the visual appearance of the control's sort bar, using EBN files

public void init()
{
	;

	super();

	exgrid1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exgrid1.VisualAppearance().Add(2,"c:\\exontrol\\images\\pushed.ebn");
	exgrid1.SortBarVisible(true);
	exgrid1.BackColorSortBar(0x1000000);
	exgrid1.BackColorSortBarCaption(0x2000000);
	exgrid1.Appearance(0/*None2*/);
}
155
How can I change the sort bar's background color

public void init()
{
	;

	super();

	exgrid1.SortBarVisible(true);
	exgrid1.BackColorSortBar(WinApi::RGB2int(255,0,0));
	exgrid1.BackColorSortBarCaption(WinApi::RGB2int(128,0,0));
}
154
How can I change the default caption being displayed in the control's sort bar

public void init()
{
	;

	super();

	exgrid1.SortBarVisible(true);
	exgrid1.SortBarCaption("new caption");
}
153
How can I show the locked / fixed items on the bottom side of the control

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.ShowLockedItems(true);
	exgrid1.Columns().Add("Column");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.LockedItemCount(1/*exMiddle*/,2);
		com_Items.CellValue(com_Items.LockedItem(1/*exMiddle*/,0),COMVariant::createFromInt(0),"locked item 1");
		com_Items.CellValue(com_Items.LockedItem(1/*exMiddle*/,1),COMVariant::createFromInt(0),"locked item 2");
		com_Items.AddItem("un-locked item");
}
152
How can I show the locked / fixed items

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.ShowLockedItems(true);
	exgrid1.Columns().Add("Column");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.LockedItemCount(0/*exTop*/,2);
		com_Items.CellValue(com_Items.LockedItem(0/*exTop*/,0),COMVariant::createFromInt(0),"locked item 1");
		com_Items.CellValue(com_Items.LockedItem(0/*exTop*/,1),COMVariant::createFromInt(0),"locked item 2");
		com_Items.AddItem("un-locked item");
}
151
How can I hide the locked / fixed items
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.ShowLockedItems(false);
	exgrid1.Columns().Add("Column");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.LockedItemCount(0/*exTop*/,1);
		com_Items.CellValue(com_Items.LockedItem(0/*exTop*/,0),COMVariant::createFromInt(0),"locked item");
		com_Items.AddItem("un-locked item");
}
150
How can I show the control's sort bar

public void init()
{
	;

	super();

	exgrid1.SortBarVisible(true);
}
149
How can I stretch a picture on the control's header, when multiple levels are displayed, so it is not tiled

public void init()
{
	;

	super();

	exgrid1.PictureLevelHeader(exgrid1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\colorize.gif`)"));
	exgrid1.PictureDisplayLevelHeader(49/*Stretch*/);
	COM::createFromVariant(exgrid1.Columns().Add("S")).Width(32);
	COM::createFromVariant(exgrid1.Columns().Add("Level 1")).LevelKey(COMVariant::createFromInt(1));
	COM::createFromVariant(exgrid1.Columns().Add("Level 2")).LevelKey(COMVariant::createFromInt(1));
	COM::createFromVariant(exgrid1.Columns().Add("Level 3")).LevelKey(COMVariant::createFromInt(1));
	COM::createFromVariant(exgrid1.Columns().Add("E1")).Width(32);
	COM::createFromVariant(exgrid1.Columns().Add("E2")).Width(32);
	COM::createFromVariant(exgrid1.Columns().Add("E3")).Width(32);
	COM::createFromVariant(exgrid1.Columns().Add("E4")).Width(32);
}
148
How can I display a picture on the control's header, when multiple levels are displayed, so it is not tiled

public void init()
{
	;

	super();

	exgrid1.PictureLevelHeader(exgrid1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\colorize.gif`)"));
	exgrid1.PictureDisplayLevelHeader(18/*MiddleRight*/);
	COM::createFromVariant(exgrid1.Columns().Add("S")).Width(32);
	COM::createFromVariant(exgrid1.Columns().Add("Level 1")).LevelKey(COMVariant::createFromInt(1));
	COM::createFromVariant(exgrid1.Columns().Add("Level 2")).LevelKey(COMVariant::createFromInt(1));
	COM::createFromVariant(exgrid1.Columns().Add("Level 3")).LevelKey(COMVariant::createFromInt(1));
	COM::createFromVariant(exgrid1.Columns().Add("E")).Width(32);
}
147
How can I display a picture on the control's header, when multiple levels are displayed

public void init()
{
	;

	super();

	exgrid1.PictureLevelHeader(exgrid1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
	COM::createFromVariant(exgrid1.Columns().Add("S")).Width(32);
	COM::createFromVariant(exgrid1.Columns().Add("Level 1")).LevelKey(COMVariant::createFromInt(1));
	COM::createFromVariant(exgrid1.Columns().Add("Level 2")).LevelKey(COMVariant::createFromInt(1));
	COM::createFromVariant(exgrid1.Columns().Add("Level 3")).LevelKey(COMVariant::createFromInt(1));
}
146
How can I change the header's background color, when multiple levels are displayed

public void init()
{
	;

	super();

	exgrid1.BackColorLevelHeader(WinApi::RGB2int(250,0,0));
	COM::createFromVariant(exgrid1.Columns().Add("S")).Width(32);
	COM::createFromVariant(exgrid1.Columns().Add("Level 1")).LevelKey(COMVariant::createFromInt(1));
	COM::createFromVariant(exgrid1.Columns().Add("Level 2")).LevelKey(COMVariant::createFromInt(1));
	COM::createFromVariant(exgrid1.Columns().Add("Level 3")).LevelKey(COMVariant::createFromInt(1));
}
145
Can I programmatically scroll the control
public void init()
{
	;

	super();

	exgrid1.Columns().Add("Column");
	exgrid1.Items().AddItem(COMVariant::createFromInt(0));
	exgrid1.Items().AddItem(COMVariant::createFromInt(1));
	exgrid1.Items().AddItem(COMVariant::createFromInt(2));
	exgrid1.Items().AddItem(COMVariant::createFromInt(3));
	exgrid1.PutItems(exgrid1.GetItems(COMVariant::createFromInt(0)));
	exgrid1.PutItems(exgrid1.GetItems(COMVariant::createFromInt(0)));
	exgrid1.ScrollPos(true,1);
}
144
How do I disable expanding or collapsing an item when user presses the arrow keys
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exgrid1.ExpandOnKeys(false);
	exgrid1.LinesAtRoot(-1/*exLinesAtRoot*/);
	exgrid1.Columns().Add("Column 1");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
}
143
How do I expand automatically the items while user types characters to searching for something ( incremental searching )

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.ExpandOnSearch(true);
	exgrid1.LinesAtRoot(-1/*exLinesAtRoot*/);
	exgrid1.AutoSearch(true);
	COM::createFromVariant(exgrid1.Columns().Add("Column")).AutoSearch(1/*exContains*/);
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.InsertItem(com_Items.InsertItem(com_Items.AddItem("text"),,"some text"),,"another text");
		com_Items.InsertItem(com_Items.InsertItem(com_Items.AddItem("text"),,"some text"),,"another text");
}
142
Can I programmatically scroll the control
public void init()
{
	;

	super();

	exgrid1.Columns().Add("Column");
	exgrid1.Items().AddItem(COMVariant::createFromInt(0));
	exgrid1.Items().AddItem(COMVariant::createFromInt(1));
	exgrid1.Items().AddItem(COMVariant::createFromInt(2));
	exgrid1.Items().AddItem(COMVariant::createFromInt(3));
	exgrid1.PutItems(exgrid1.GetItems(COMVariant::createFromInt(0)));
	exgrid1.PutItems(exgrid1.GetItems(COMVariant::createFromInt(0)));
	exgrid1.Scroll(1/*exScrollDown*/);
}
141
Do you have some function to load data from a safe array
public void init()
{
	;

	super();

	exgrid1.Columns().Add("Column");
	exgrid1.Items().AddItem(COMVariant::createFromInt(0));
	exgrid1.PutItems(exgrid1.GetItems(COMVariant::createFromInt(0)));
}
140
Do you have some function to retrieve all items to a safe array
public void init()
{
	;

	super();

	exgrid1.Columns().Add("Column");
	exgrid1.Items().AddItem(COMVariant::createFromInt(0));
	exgrid1.PutItems(exgrid1.GetItems(COMVariant::createFromInt(0)));
	exgrid1.Items().AddItem(COMVariant::createFromInt(1));
	exgrid1.PutItems(exgrid1.GetItems(COMVariant::createFromInt(0)));
	exgrid1.Items().AddItem(COMVariant::createFromInt(2));
	exgrid1.PutItems(exgrid1.GetItems(COMVariant::createFromInt(0)));
	exgrid1.Items().AddItem(COMVariant::createFromInt(3));
}
139
How can still display the selected items when the control loses the focus

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.HideSelection(false);
	exgrid1.Columns().Add("Column");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item 3");
		com_Items.AddItem("Item 1");
		com_Items.SelectItem(com_Items.AddItem("Item 2"),true);
}
138
How can I hide a column

public void init()
{
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("Hidden")).Visible(false);
	exgrid1.Columns().Add("2");
	exgrid1.Columns().Add("3");
	exgrid1.Columns().Add("4");
	exgrid1.Columns().Add("5");
}
137
How can I ensure that a column is visible and fits the control's client area

public void init()
{
	;

	super();

	exgrid1.ColumnAutoResize(false);
	COM::createFromVariant(exgrid1.Columns().Add("1")).Width(128);
	COM::createFromVariant(exgrid1.Columns().Add("2")).Width(128);
	COM::createFromVariant(exgrid1.Columns().Add("3")).Width(128);
	COM::createFromVariant(exgrid1.Columns().Add("4")).Width(128);
	COM::createFromVariant(exgrid1.Columns().Add("5")).Width(128);
	exgrid1.EnsureVisibleColumn("5");
}
136
I've seen that the width of the tooltip is variable. Can I make it larger

public void init()
{
	;

	super();

	exgrid1.ToolTipWidth(328);
	COM::createFromVariant(exgrid1.Columns().Add("tootip")).ToolTip("this is a tooltip that should be very very very very very very very long");
}
135
How do I disable showing the tooltip for all control
public void init()
{
	;

	super();

	exgrid1.ToolTipDelay(0);
	COM::createFromVariant(exgrid1.Columns().Add("tootip")).ToolTip("this is a tooltip assigned to a column");
}
134
How do I let the tooltip being displayed longer
public void init()
{
	;

	super();

	exgrid1.ToolTipPopDelay(10000);
	COM::createFromVariant(exgrid1.Columns().Add("tootip")).ToolTip("this is a tooltip assigned to a column");
}
133
How do I show the tooltip quicker

public void init()
{
	;

	super();

	exgrid1.ToolTipDelay(1);
	COM::createFromVariant(exgrid1.Columns().Add("tootip")).ToolTip("this is a tooltip assigned to a column");
}
132
How do I change the caption being displayed in the control's filter bar

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	exgrid1.FilterBarCaption("your filter caption");
	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(1/*exBlanks*/);
	exgrid1.ApplyFilter();
}
131
How do I disable expanding or collapsing an item when user double clicks it

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exgrid1.ExpandOnDblClick(false);
	exgrid1.LinesAtRoot(-1/*exLinesAtRoot*/);
	exgrid1.Indent(13);
	exgrid1.Columns().Add("Column 1");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
}
130
How do I search case sensitive, using your incremental search feature

public void init()
{
	COM com_Columns,com_Items,com_Items1;
	anytype var_Columns,var_Items,var_Items1;
	;

	super();

	exgrid1.AutoSearch(true);
	exgrid1.ASCIILower("");
	var_Columns = exgrid1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("exStartWith")).AutoSearch(0/*exStartWith*/);
		COM::createFromVariant(com_Columns.Add("exContains")).AutoSearch(1/*exContains*/);
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("text"),COMVariant::createFromInt(1),"another text");
	var_Items1 = exgrid1.Items(); com_Items1 = var_Items1;
		com_Items1.CellValue(com_Items1.AddItem("text"),COMVariant::createFromInt(1),"another text");
}
129
How do I disable the control
public void init()
{
	;

	super();

	exgrid1.Enabled(false);
}
128
How do I enable the incremental search feature within a column

public void init()
{
	COM com_Columns,com_Items,com_Items1;
	anytype var_Columns,var_Items,var_Items1;
	;

	super();

	exgrid1.AutoSearch(true);
	var_Columns = exgrid1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("exStartWith")).AutoSearch(0/*exStartWith*/);
		COM::createFromVariant(com_Columns.Add("exContains")).AutoSearch(1/*exContains*/);
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("text"),COMVariant::createFromInt(1),"another text");
	var_Items1 = exgrid1.Items(); com_Items1 = var_Items1;
		com_Items1.CellValue(com_Items1.AddItem("text"),COMVariant::createFromInt(1),"another text");
}
127
How do I call your x-script language

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exgrid1.ExecuteTemplate("Columns.Add(`Column`)")); com_Column = var_Column;
		com_Column.HeaderStrikeOut(true);
		com_Column.HeaderBold(true);
}
126
How do I call your x-script language

public void init()
{
	;

	super();

	exgrid1.Template("Columns.Add(`Column`).HTMLCaption = `<b>C</b>olumn`");
}
125
How do I show alternate rows in different background color

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.BackColorAlternate(WinApi::RGB2int(240,240,240));
	exgrid1.Columns().Add("Column");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item 1");
		com_Items.AddItem("Item 2");
		com_Items.AddItem("Item 3");
		com_Items.AddItem("Item 4");
		com_Items.AddItem("Item 5");
}
124
How do I enlarge the drop down filter window

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	exgrid1.FilterBarDropDownHeight("-320");
	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterBarDropDownWidth("-320");
	exgrid1.Items().AddItem("Item 1");
	exgrid1.Items().AddItem("Item 2");
}
123
How do I filter programatically the control

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(3/*exPattern*/);
		com_Column.Filter("Item*");
	exgrid1.Items().AddItem("Item 1");
	exgrid1.Items().AddItem("");
	exgrid1.Items().AddItem("Item 2");
	exgrid1.ApplyFilter();
}
122
How do I change the font of the control's filterbar

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	exgrid1.FilterBarFont().Size(20);
	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(1/*exBlanks*/);
	exgrid1.ApplyFilter();
}
121
Can I apply an EBN skin to the control's filter bar so I can change its visual appearance

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	exgrid1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exgrid1.FilterBarBackColor(0x1000000);
	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(1/*exBlanks*/);
	exgrid1.ApplyFilter();
}
120
How do I change the background color of the control's filterbar

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	exgrid1.FilterBarBackColor(WinApi::RGB2int(240,240,240));
	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(1/*exBlanks*/);
	exgrid1.ApplyFilter();
}
119
How do I change the foreground color of the control's filterbar

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	exgrid1.FilterBarForeColor(WinApi::RGB2int(255,0,0));
	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(1/*exBlanks*/);
	exgrid1.ApplyFilter();
}
118
How do I change the height of the control's filterbar

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	exgrid1.FilterBarHeight(32);
	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(1/*exBlanks*/);
	exgrid1.ApplyFilter();
}
117
How do I change the header's foreground color

public void init()
{
	;

	super();

	exgrid1.ForeColorHeader(WinApi::RGB2int(255,0,0));
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	exgrid1.Items().AddItem("Item 1");
}
116
I have a picture on the control's background, the question is how do I draw selection as semi-transparent

public void init()
{
	;

	super();

	exgrid1.Picture(exgrid1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
	exgrid1.SelBackMode(1/*exTransparent*/);
	exgrid1.Columns().Add("Column");
	exgrid1.Items().AddItem("Item 1");
	exgrid1.Items().AddItem("Item 2");
}
115
It seems that the control uses the TAB key, is there any way to avoid that
public void init()
{
	;

	super();

	exgrid1.UseTabKey(false);
}
114
I have FullRowSelect property on False, how do I force the user to select cells only in a specified column

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.SelectColumnIndex(1);
	exgrid1.FullRowSelect(false);
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Item 1"),COMVariant::createFromInt(1),"SubItem 1");
}
113
How do I assign a database to your control, using ADO, ADOR or ADODB objects

public void init()
{
	COM com_rs;
	anytype rs;
	;

	super();

	exgrid1.ColumnAutoResize(false);
	exgrid1.ContinueColumnScroll(false);
	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	rs = COM::createFromObject(new ADODB.Recordset()); com_rs = rs;
		rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGrid\\Sample\\Access\\misc.accdb",3/*adOpenStatic*/,3/*adLockOptimistic*/);
	exgrid1.DataSource(rs);
}
112
How do I change the visual appearance effect for the selected item, using EBN

public void init()
{
	;

	super();

	exgrid1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exgrid1.SelBackColor(0x1000000);
	exgrid1.SelForeColor(WinApi::RGB2int(0,0,0));
	exgrid1.ShowFocusRect(false);
	exgrid1.Columns().Add("Column");
	exgrid1.Items().AddItem(COMVariant::createFromInt(0));
	exgrid1.Items().AddItem(COMVariant::createFromInt(1));
}
111
How do I change the colors for the selected item

public void init()
{
	;

	super();

	exgrid1.SelBackColor(WinApi::RGB2int(0,0,0));
	exgrid1.Columns().Add("Column");
	exgrid1.Items().AddItem(COMVariant::createFromInt(0));
	exgrid1.Items().AddItem(COMVariant::createFromInt(1));
}
110
How do I get ride of the rectangle arround focused item
public void init()
{
	;

	super();

	exgrid1.ShowFocusRect(false);
	exgrid1.Columns().Add("Column");
	exgrid1.Items().AddItem(COMVariant::createFromInt(0));
	exgrid1.Items().AddItem(COMVariant::createFromInt(1));
}
109
How can I change the control's font
public void init()
{
	;

	super();

	exgrid1.Font().Name("Tahoma");
	exgrid1.Columns().Add("Column");
}
108
I can't scroll to the end of the data. What can I do
public void init()
{
	COM com_Items,com_Items1,com_Items2,com_Items3;
	anytype var_Items,var_Items1,var_Items2,var_Items3;
	;

	super();

	exgrid1.ScrollBySingleLine(true);
	exgrid1.DrawGridLines(-2/*exRowLines*/);
	exgrid1.Columns().Add("Column");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.ItemHeight(com_Items.AddItem(COMVariant::createFromInt(0)),13);
	exgrid1.PutItems(exgrid1.GetItems(COMVariant::createFromInt(0)));
	var_Items1 = exgrid1.Items(); com_Items1 = var_Items1;
		com_Items1.ItemHeight(com_Items1.AddItem(COMVariant::createFromInt(1)),26);
	exgrid1.PutItems(exgrid1.GetItems(COMVariant::createFromInt(0)));
	var_Items2 = exgrid1.Items(); com_Items2 = var_Items2;
		com_Items2.ItemHeight(com_Items2.AddItem(COMVariant::createFromInt(2)),36);
	exgrid1.PutItems(exgrid1.GetItems(COMVariant::createFromInt(0)));
	var_Items3 = exgrid1.Items(); com_Items3 = var_Items3;
		com_Items3.ItemHeight(com_Items3.AddItem(COMVariant::createFromInt(3)),48);
	exgrid1.PutItems(exgrid1.GetItems(COMVariant::createFromInt(0)));
}
107
How do I specify the column where the tree lines / hierarchy are shown

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exgrid1.LinesAtRoot(1/*exGroupLinesAtRoot*/);
	exgrid1.TreeColumnIndex(1);
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1.1");
		com_Items.CellValue(h,COMVariant::createFromInt(1),"Root 1.2");
		com_Items.CellValue(com_Items.InsertItem(h,,"Child 1.1"),COMVariant::createFromInt(1),"Child 1.2");
		com_Items.CellValue(com_Items.InsertItem(h,,"Child 2.1"),COMVariant::createFromInt(1),"Child 2.2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2.1");
		com_Items.CellValue(h,COMVariant::createFromInt(1),"Root 2.2");
		com_Items.CellValue(com_Items.InsertItem(h,,"Child 1.1"),COMVariant::createFromInt(1),"Child 1.2");
}
106
How do I specify the indentation of the child items relative to their parents

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exgrid1.LinesAtRoot(1/*exGroupLinesAtRoot*/);
	exgrid1.Indent(11);
	exgrid1.Columns().Add("Column");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child");
}
105
Is there any option to select an item using the right button of the mouse (rclick)

public void init()
{
	;

	super();

	exgrid1.RClickSelect(true);
	exgrid1.Columns().Add("Column");
	exgrid1.Items().AddItem("Item 1");
	exgrid1.Items().AddItem("Item 2");
}
104
I have FullRowSelect property on False, how do I select a column
public void init()
{
	;

	super();

	exgrid1.SelectColumnIndex(1);
	exgrid1.FullRowSelect(false);
}
103
How can I scroll columns one by one, not pixel by pixel
public void init()
{
	;

	super();

	exgrid1.ContinueColumnScroll(false);
	exgrid1.ColumnAutoResize(false);
	COM::createFromVariant(exgrid1.Columns().Add("1")).Width(128);
	COM::createFromVariant(exgrid1.Columns().Add("2")).Width(128);
	COM::createFromVariant(exgrid1.Columns().Add("3")).Width(128);
	COM::createFromVariant(exgrid1.Columns().Add("4")).Width(128);
	COM::createFromVariant(exgrid1.Columns().Add("5")).Width(128);
}
102
How can I enable multiple items selection

public void init()
{
	;

	super();

	exgrid1.SingleSel(false);
	exgrid1.Columns().Add("Column");
	exgrid1.Items().AddItem(COMVariant::createFromInt(0));
	exgrid1.Items().AddItem(COMVariant::createFromInt(1));
	exgrid1.Items().AddItem(COMVariant::createFromInt(2));
}
101
How can I programmatically change the column where incremental searching is performed

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Item 1"),COMVariant::createFromInt(1),"SubItem 1");
	exgrid1.SearchColumnIndex(1);
}